<?php

namespace app\common\logic;

/**
 * 缓存键值对 - TODO:所有缓存键值对统一放在此处
 * Class CacheKey
 * @package app\common\logic
 */
class CacheKey
{
    /**
     * 全局缓存键值对
     */
    const DB_CONFIG_DATA = 'db_config_data';

    //菜单导航
    const FRONT_CHANNEL_MENU = 'nav_menu';

    //首页头部菜单
    const FRONT_HEADER_NAV = 'header_nav';

    //首页底部菜单
    const FRONT_BOTTOM_NAV = 'bottom_nav';

    //友情链接
    const LINK_FRIEND = 'link_friend';
    const LINK_COOPER = 'link_cooper';

    //单页菜单
    const SINGLE_PAGE_MENU = 'single_page_menu';

    //支付密码错误次数
    const  PAY_PASS_ERROR_COUNT = 'pay_pass_error_count';
}